<script>
import { useUserStore } from '@/store/modules/user'

export default {
  onLaunch: function () {
    console.log('App Launch')
    // 初始化用户状态
    const userStore = useUserStore()
    userStore.checkLoginStatus()
  },
  onShow: function () {
    console.log('App Show')
  },
  onHide: function () {
    console.log('App Hide')
  },
}
</script>

<style>
/*每个页面公共css */
@import "./styles/global.css";
</style>
